home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / utmisc1 / chktex.lha / chktex / WB2Argv.h < prev    next >
C/C++ Source or Header  |  1996-04-30  |  1KB  |  53 lines

  1. /*
  2.  *  WB2Argv v1.3, Amiga Workbench argv/argc emulation routines.
  3.  *  Copyright (C) 1995-96 Jens T. Berger Thielemann
  4.  *
  5.  *  This program is free software; you can redistribute it and/or modify
  6.  *  it under the terms of the GNU General Public License as published by
  7.  *  the Free Software Foundation; either version 2 of the License, or
  8.  *  (at your option) any later version.
  9.  *
  10.  *  This program is distributed in the hope that it will be useful,
  11.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  *  GNU General Public License for more details.
  14.  *
  15.  *  You should have received a copy of the GNU General Public License
  16.  *  along with this program; if not, write to the Free Software
  17.  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  *
  19.  *  Contact the author at:
  20.  *        Jens Berger
  21.  *        Spektrumvn. 4
  22.  *        N-0666 Oslo
  23.  *        Norway
  24.  *        E-mail: <jensthi@ifi.uio.no>
  25.  *
  26.  *
  27.  */
  28.  
  29. #ifdef AMIGA
  30.  
  31. #include <exec/types.h>
  32.  
  33. /*
  34.  * These bits are intended for the WB2Argv Flags arg.
  35.  */
  36.  
  37. /* Make all options lower case. */
  38. #define    W2A_LOWER            0
  39.  
  40. /* Make all options upper case. */
  41. #define    W2A_UPPER            1
  42.  
  43. /* Keep case of all options. */
  44. #define    W2A_KEEPCASE        2
  45.  
  46. #define W2A_CASEMASK        3
  47.  
  48.  
  49. char **WB2Argv(struct WBStartup *WBMsg, LONGBITS Flags);
  50. ULONG CountArgv(const char **argv);
  51.  
  52. #endif /* AMIGA */
  53.